<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>鼠键</title>
</head>

<body><input type="text">
    <div></div>
    <div class="mi"></div>
    <div class="tmall"></div>
    <style>
        input:focus {
            background-color: aqua;
            outline: blue;
            border: 1px red dashed;
        }

        div {
            width: 200px;
            height: 300px;
            background-color: yellow;
            margin-top: 10px;
        }

        div.mi {
            transition: box-shadow 0.5s;
        }

        div.mi:hover {
            box-shadow: 5px 5px 5px #323ce3, 5px -5px 5px #323ce3, -5px 5px 5px #323ce3, -5px -5px 5px #323ce3;
        }

        div.tmall {
            transition: opacity 0.5s;
        }

        div.tmall:hover {
            border: 1px red solid;
            opacity: 0.4s;
        }
    </style>

</body>

</html>